package com.zys.principles.demo1.emp1;

/**
 * run方法 违反单一职责原则
 */
public class Client {
    public static void main(String[] args) {
        Vehicle vehicle = new Vehicle();
        vehicle.run("bike");
        vehicle.run("bus");
        vehicle.run("plane");
    }
}
